package com.atguigu.springwebdemo.service;

import com.atguigu.springwebdemo.bean.BaseRegion;
import com.atguigu.springwebdemo.bean.Employee;

import java.util.List;

/**
 * Created by Smexy on 2022/9/7
 */
public interface EmployeeService
{
    //一套增删改查
    Employee getEmployeeById(Integer id);

    void insertEmployee(Employee employee);

    void deleteEmployeeById(Integer id);

    void updateEmployee(Employee employee);

    List<Employee> getAll();

    List<BaseRegion> getRegions();
}
